wayland/surface: Use wl_surface_offset() instead of x,y of attach()
authorJonas Ådahl <jadahl@gmail.com>
Mon, 22 Mar 2021 10:51:37 +0000 (11:51 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 14 Jan 2022 08:27:07 +0000 (09:27 +0100)
commit66ebc660b4ab446a03f4421d02f71dcddd2a88b0
tree47273da3e7a72d51fb3777b8ee8e4f164a772f24
parentc71cb35e9dc3cf4dc109ce64dbd7731c93018f56
wayland/surface: Use wl_surface_offset() instead of x,y of attach()

This makes the hotspot of DND surfaces work when using the Vulkan and
OpenGL renderers.

This bumps the CI image used to the newly built image. This is needed to
install a new enough libwayland-client.so needed for wl_surface.offset.

This is done by adding wayland as a meson subproject, building it
on-demand if the version in the system is not new enough. As
libwayland-client.so is pulled in implicitly when linking to gtk4, the
compile step needs LD_LIBRARY_PATH set to make ld find the right library
to link to.
.gitlab-ci.yml
.gitlab-ci/fedora.Dockerfile
gdk/wayland/gdkcairocontext-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdksurface-wayland.c
meson.build
subprojects/wayland.wrap [new file with mode: 0644]